﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OverseasRemittanceList.aspx.cs" Inherits="YhmOA.PrintDoc.Bank.OverseasRemittanceList" %>
<%@ Register Assembly="YhmOAPager" Namespace="YhmOA.Pager" TagPrefix="YhmOA" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" rel="Stylesheet" href="../../Styles/Common.css" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="../../Scripts/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="MainBody">
        <div style="height:30px; border:1px solid #93bee2; background-color: #DAEBF6; border-bottom:0px; line-height:30px; text-indent:8px; font-family:微软雅黑; font-size:18px; font-weight:bold; color:#6A6A6A;">
            档案管理 >> 新OA测试 >> 境外付款申请书管理
        </div>
        <div style="border: 1px solid #93BEE2; border-bottom: 0px; padding: 8px 0 8px 8px;">
            <table>
                <tr>
                    <td><asp:Button ID="Button1" CssClass="Button" runat="server" Text="S添加" CommandName="1" onclick="btn_Add_Click" style="width:65px"/></td>
                    <td><asp:Button ID="Button2" CssClass="Button" runat="server" Text="S删除" CommandName="3" onclick="btn_Del_Click" style="width:65px"/></td>
                    <td><input class="Button" onclick="RoleVerification('1','Dialog(\'OverseasRemittanceInfo.aspx\',\'境外汇款申请书--添加\',\'境外汇款申请书\',840,500);');" style="width:60px" type="text" value="添加" /></td>
                    <td><input class="Button" onclick="RoleVerification('3','DeleteData();');" style="width:60px" type="text" value="删除" /></td>
                    <td>
                        <asp:TextBox ID="txt_Search" runat="server" notAjaxRender="notAjaxRender" CssClass="TextBoxSearch" onkeyup="Search();"></asp:TextBox>
                    </td>
                </tr>
            </table>
        </div>
        <asp:GridView ID="gvShow" runat="server" Width="100%" EmptyDataText="暂无数据..." CssClass="Table">
            <Columns>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <input type="checkbox" id="allChecked" onclick="CheckedEvent('allChecked');" value="0" />
                    </HeaderTemplate>
                    <ItemTemplate>
                        <input  id="ItemChk" class="ItemChk" name="ItemChk" type="checkbox" value='<%# Eval("Id") %>' />
                    </ItemTemplate>
                    <ItemStyle Width="25px" CssClass="TdCenter"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate><a onclick="Sort('ID');" href="javascript:void(0);">查看</a></HeaderTemplate>
                    <ItemTemplate><a onclick="RoleVerification('0','Dialog(\'OverseasRemittanceInfo.aspx?id=<%# Eval("Id") %>\',\'境外汇款申请书--查看\',\'境外汇款申请书\',840,500);');" href="javascript:void(0);">查看</a></ItemTemplate>
                    <ItemStyle Width="40px" CssClass="TdCenter"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('SenderName');" href="javascript:void(0);">汇款人名称</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("SenderName")%></ItemTemplate>
                        <ItemStyle Width="200px"/>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('PayeeName');" href="javascript:void(0);">收款人名称</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("PayeeName")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('Data');" href="javascript:void(0);">日期</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("Data","{0:yyyy-MM-dd}")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('RemittanceMark');" href="javascript:void(0);">汇款附言</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("RemittanceMark")%></ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField>
                    <HeaderTemplate>
                        <a onclick="Sort('TransactionMark');" href="javascript:void(0);">交易附言</a></HeaderTemplate>
                    <ItemTemplate>
                        <%#Eval("TransactionMark")%></ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <HeaderStyle CssClass="ThCenter"/>
        </asp:GridView>
        <YhmOA:Pager ID="gvShowPager" runat="server"/>
    </div>
    </form>
</body>
</html>
